package com.dstation.service.interf;

import com.dstation.domain.SubscriptionPackageInfo;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author Eastward
 * @date 2022/5/8 - 21:41
 */
public interface ISubscriptionPackageService {
    List<SubscriptionPackageInfo> findAllSubscriptionPackages();

    Boolean addSubscriptionPackage(BigDecimal price, String subPackDescription, int subPackType);

    Boolean alterSubscriptionPackage(Long id, BigDecimal price, String subPackDescription, int subPackType);

    Boolean dropSubscriptionPackage(Long subPackId);

    List<SubscriptionPackageInfo> findAllSubscriptionPackagesByType(int subPackType);

    SubscriptionPackageInfo findSubscriptionPackageBySubPackId(Integer subPackId);
}
